<div ng-controller="sysroleaction as gt">
	<section class="content-header">
		<h1>
			{{title}}<small></small>
		</h1>
	</section>
	<section class="content">
		<div class="box box-default">
			<div class="col-md-12">
				<div class="box-body">
					<alertdanger></alertdanger>
					<alertsuccess></alertsuccess>
					<form role="form">
						<div class="box-body">

							<div class="col-md-3" class="box box-success" ng-repeat="gt in gtparams">
								<div class="box-header">
									<h3 class="box-title">{{gt.sysmodulename}}</h3>
								</div>
								<div class="box-body">
									<div class="form-group">
										<label>
											<input type="checkbox" class="minimal" id="{{gt.id}}" name="{{gt.sysmoduleactionname}}" ng-checked="isSelected(gt.id)" ng-click="updateSelection($event,gt.id)">{{gt.sysmoduleactionname}}
										</label>

									</div>
								</div>
							</div>
						</div>
						<div class="box-footer">
							<button ng-show="savebtn.show" type="button"
									class="btn btn-primary" ng-click="save();">保存</button>
							<button ng-show="updatebtn.show" type="button"
									class="btn btn-primary" ng-click="update();">更新</button>
						</div>
					</form>
				</div>
			</div>
			<div class="box-footer"></div>
		</div>
	</section>
</div>